#!/bin/bash

# 镜像名称
IMAGE_NAME="bp_simulator"

# 要启动的容器数量
NUM_CONTAINERS=10

# 循环启动容器
for i in $(seq 1 $NUM_CONTAINERS)
do
    echo "Starting container $i from image $IMAGE_NAME"
    docker run --rm -d --name container_$i $IMAGE_NAME --id $i --num 10
done

echo "All containers started."